package com.ani.mydragon.dto.template;

import java.util.List;

/**
 * User: yeh
 * Date: 3/29/13
 * Time: 4:47 PM
 * For:  wilddragon
 */
public class PageObjContainer {
    public enum PageObjType{
        article,
        button,
        field,
        form,
        list,
        link,
        forwardLink
    }

    public String id;

    public PageObjType objType;

    public PageObjTemplate pageObj;

    public String fieldName;

    public String appearanceField;

    public PageObjContainer(String id, PageObjType objType, PageObjTemplate pageObj, String fieldName) {
        this.id = id;
        this.objType = objType;
        this.pageObj = pageObj;
        this.fieldName = fieldName;
    }

    public PageObjContainer(String id, PageObjType objType, PageObjTemplate pageObj, String fieldName, String appearanceField) {
        this.id = id;
        this.objType = objType;
        this.pageObj = pageObj;
        this.fieldName = fieldName;
        this.appearanceField = appearanceField;
    }
}
